package com.mc.ssm.book.service;

import com.mc.ssm.book.model.Book;

import java.util.List;

/**
 * Created by zhangzhenguo on 2017/2/11.
 */
public interface BookService {

    int saveBook(Book book);

    int updateBook(Book book);

    int deleteBook(long id);

    List<Book> selectBooksByName(String bookName);

    List<Book> findAllBooks();

    Book findBookById(long bookId);
}
